﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Votes : Acms.AcmsControls.ContentControls.Admin.BaseCustomAdminControl
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    protected void dsVotes_Select(object sender, Acms.DataControls.EventDrivenDataSourceSelectEventArgs e)
    {
        MuffinBreak.Bll.MuffinBreakDataContext dataContext = new MuffinBreak.Bll.MuffinBreakDataContext();
        var voteSummary = MuffinBreak.Bll.StoreVote.GetAll(dataContext);
        e.SetData(voteSummary);
    }
}
